package com.example.android.gestures;

import java.util.ArrayList;
import java.util.Collections;


/**
 * 
 * @author Gospo
 *
 */
public class Gesture
{
	ArrayList<Direction> arrayList = new ArrayList<Direction>();
	
	public Gesture(Direction[] directions)
	{
		Collections.addAll(arrayList, directions);
	}
	
	@Override
	public String toString()
	{
		StringBuilder builder = new StringBuilder();
		
		for (Direction direction : arrayList)
		{
			builder.append(direction);
		}
		
		return builder.toString();
	}
}
